<template>
    <div class="parent">
        <ul>
            <li v-for="(item,index) in navss" :key="index"><img :src="item.imgPath" alt="">
                <span>{{item.name}}</span>
                <p>{{item.cy}}</p>
                <p>{{item.zp}}</p>

            </li>

        </ul>

    </div>
</template>

<script>
    export default {
        data() {
            return {

            }

        },
        props: {
            navss: {
                type: Array
            },


        }
    }
</script>

<style scoped>
    ul {
        width: 400px;
        height:250px;
        border: 1px solid;
        list-style-type: none;
        padding: 50px;

    }
    li {
        display: inline-block;

    }
    span{
        margin-top:-15px;
    }

</style>


